﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AvansRS.Domain;

namespace AvansRS.Data.InsertBuilders
{
    class InsertRegistration : Insert<Registration>
    {
        public InsertRegistration() : base(new Registration())
        {
            
        }

        public InsertRegistration WithEntity(Entity entity)
        {
            Instance.Entity = entity;
            return this;
        }

        public InsertRegistration WithEventDate(EventDate eventDate)
        {
            Instance.EventDate = eventDate;
            return this;
        }

        public InsertRegistration WithTimeBlock(TimeBlock timeBlock)
        {
            Instance.TimeBlock = timeBlock;
            return this;
        }
    }
}
